Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

as_string_pad

time.duration.as_string_pad

Returns a compact string representation of this duration using
a short unit name with left-padded output for alignment.

The unit is determined by `unit_for_as_string`, preferring the
largest unit whose integer part still contains at least two digits.

The representation is not exact. Fractional parts are omitted.

Example:

0.099dev (GIT hash 250922c42fb1dcef5ce7ce89820538f53498ca37)
last changed: 2026-08-14